﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace _1_30_15_CoachSite.Models
{
    public class CoachViewModels
    {
    }

    public class UserViewModel
    {
        public string UserId { get; set; }
        [Required]
        public string FirstName { get; set; }
        [Required]
        public string LastName { get; set; }
        [Required]
        public string Email { get; set; }
        public string UserName { get; set; }
        public string ImgUrl { get; set; }
    }


    class ApptTypeViewModel
    {
        public int ApptTypeId { get; set; }
        [Required]
        public string ApptTypeDesc { get; set; }
    }
    class AppointmentViewModel
    {
        public int AppointmentId { get; set; }
        [Required]
        public DateTime When { get; set; }
        [Required]
        public string Reason { get; set; }
        public bool Accepted { get; set; }
        public ApptTypeViewModel ApptType { get; set; }
     }

    class CommunicationTypeViewModel
    {
        public int CommunicationTypeId { get; set; }
        [Required]
        public string CommunicationTypeDesc { get; set; }
    }
    class CommunicationViewModel
    {
        public int CommunicationId { get; set; }
        [Required]
        public string Message { get; set; }
        public CommunicationTypeViewModel CommunicationType { get; set; } 
    }   

    class CommScheduleViewModel
    {
        public int CommScheduleId { get; set; }
        public CommunicationViewModel Communication { get; set; }        
        public DateTime ScheduleDate { get; set; }

    }

    class CommSchedUsersViewModel
    {
        public int ComSchedUsersId { get; set; }
        public CommScheduleViewModel CommSchedule { get; set; }  
        public UserViewModel User { get; set; }  
    }

}